<a href="javascript:;" class="btn">Test</a>

<script>

	$(document).ready(function(){
		$('.btn').click(function(){
			var btn = $(this);
			
			template.render('product', 'auto', {title:'heeloo', 'body':'sfsfefsef'}, function(html){
				btn.after(html);
			});
			
			return false;
		});
	});

</script>